#ifndef _FIG_SFX_COLLECTION_H_
#define _FIG_SFX_COLLECTION_H_

#include "fig_sfx.h"
#include "fig_sounds.h"

#include "ui/ui_manager.h"




class FIGSFXCollection
{
public:

	

	FIGSFXCollection(FIGSfx::SFX_TYPES Type );


	void								RenderAtGround(const math::Vec2& Offset,float Scale);
	void								Render(const math::Vec2& Offset,float Scale);
	void								PostRender(const math::Vec2& Offset,float Scale);
	void								RenderDebug(const math::Vec2& Offset,float Scale);
	void								Tick(float dt);


	void								Clear();
	FIGSfx*								Spawn(	const math::Vec2& Pos, 									
										float SizeScale,
										float Roation,
										FIGSounds::SOUND_NAMES SFXName
										);
	const FIGSfx::SFX_TYPES				GetType()const { return m_Type; };
	
	

protected:


	FIGSfx::SFX_TYPES						m_Type;
	std::vector<FIGSfx*>					m_SFXs;

};

#endif